

const request=(path,datas)=>{
    const url="https://www.zhengzhicheng.cn/api/public/v1/"+path
    return new Promise((resolve,reject)=>{
        wx.request({
            url:url,
            method:"get",
            data:datas||"",
            success:function(res){
                resolve(res)
            }
            
        })
    })
    
}


export default request